<?php
/*
 * Parent of Model
 * - each model will extend and inherit this parent class
 *
 * @author Andreas Psaros, presis.se
 */
class Model {

    protected $db;

    public function __construct() {
        // get global value of db, as set in shared
        global $db;
        $this->db = $db;
    }

}

?>